ALTER TABLE [X_Config] NOCHECK CONSTRAINT ALL
GO
ALTER TABLE [X_Config] DISABLE TRIGGER ALL
GO

SET IDENTITY_INSERT [X_Config] ON 
PRINT 'Begin inserting data in X_Config'
INSERT INTO [X_Config] ([Id], [ConfigKey], [ConfigValue], [Remark])
VALUES(1, 'Title', 'XXX网上办公平台', '网站的标题')
INSERT INTO [X_Config] ([Id], [ConfigKey], [ConfigValue], [Remark])
VALUES(5, 'PageSize', '20', '默认的表格数据每页显示的个数')
SET IDENTITY_INSERT [X_Config] OFF 
ALTER TABLE [X_Config] CHECK CONSTRAINT ALL
GO

ALTER TABLE [X_Config] ENABLE TRIGGER ALL
GO



ALTER TABLE [X_Log] NOCHECK CONSTRAINT ALL
GO
ALTER TABLE [X_Log] DISABLE TRIGGER ALL
GO

SET IDENTITY_INSERT [X_Log] ON 
PRINT 'Begin inserting data in X_Log'
SET IDENTITY_INSERT [X_Log] OFF 
ALTER TABLE [X_Log] CHECK CONSTRAINT ALL
GO

ALTER TABLE [X_Log] ENABLE TRIGGER ALL
GO



ALTER TABLE [X_Menu] NOCHECK CONSTRAINT ALL
GO
ALTER TABLE [X_Menu] DISABLE TRIGGER ALL
GO

SET IDENTITY_INSERT [X_Menu] ON 
PRINT 'Begin inserting data in X_Menu'
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(2, '系统管理', '', '', '', 1, '', 0, 10, 0, NULL, NULL, '2008-12-30 17:33:41', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(4, '职务管理', '', '', '~/Module/Power.aspx', 1, '', 2, 30, 1, NULL, NULL, '2008-12-31 10:46:04', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(5, '部门管理', '', '', '~/Module/Department.aspx', 1, '', 2, 40, 1, NULL, NULL, '2008-12-31 10:44:30', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(6, '菜单管理', '', '', '~/Module/Menu.aspx', 1, '', 2, 20, 1, NULL, NULL, '2008-12-31 10:15:07', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(7, '角色管理', '', '', '~/Module/Role.aspx', 1, '', 2, 60, 1, NULL, NULL, '2008-12-31 10:42:41', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(8, '用户管理', '', '', '~/Module/User.aspx', 1, '', 2, 70, 1, NULL, NULL, '2008-12-31 10:44:42', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(9, '用户权限配置', NULL, NULL, '~/Module/UserRight.aspx', 1, NULL, 2, 80, 1, NULL, NULL, NULL, NULL)
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(10, '日志管理', NULL, NULL, '~/Module/Log.aspx', 1, NULL, 2, 90, 1, NULL, NULL, NULL, NULL)
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(11, '办公平台', '', '', '', 1, '', 0, 100, 0, NULL, NULL, '2008-12-31 09:29:39', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(12, '文件发布', '', '', '~/Module/File.aspx', 1, '', 11, 110, 1, NULL, NULL, '2008-12-31 09:59:20', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(17, '菜单管理-查看', '', '', '~/Module/Menu_View.aspx',  0, '', 6, 130, 1, NULL, NULL, '2008-12-29 21:22:11', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(18, '菜单管理-编辑', '', '', '~/Module/Menu_Edit.aspx',  0, '', 6, 131, 1, NULL, NULL, '2008-12-31 11:07:57', 'admin')
INSERT INTO [X_Menu] ([Id], [Name], [Tooltip], [ImageUrl], [NavigateUrl], [Show], [Remark], [ParentMenuId], [SortIndex], [Depth], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(20, '菜单管理-新增', '', '', '~/Module/Menu_New.aspx',  0, '', 6, 134, 1, NULL, NULL, '2008-12-31 10:37:52', 'admin')
SET IDENTITY_INSERT [X_Menu] OFF 
ALTER TABLE [X_Menu] CHECK CONSTRAINT ALL
GO

ALTER TABLE [X_Menu] ENABLE TRIGGER ALL
GO



ALTER TABLE [X_User] NOCHECK CONSTRAINT ALL
GO
ALTER TABLE [X_User] DISABLE TRIGGER ALL
GO

SET IDENTITY_INSERT [X_User] ON 
PRINT 'Begin inserting data in X_User'
INSERT INTO [X_User] ([Id], [Name], [Password], [Email], [Enabled], [Remark], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy])
VALUES(3, 'admin', 'rSRPrSrj2eclC9avWKWZvJomw6+FPEN4', NULL, 1, NULL, '2008-12-27 18:13:51', 'AppBox.Web.Init', '2008-12-27 18:13:51', 'AppBox.Web.Init')
SET IDENTITY_INSERT [X_User] OFF 
ALTER TABLE [X_User] CHECK CONSTRAINT ALL
GO

ALTER TABLE [X_User] ENABLE TRIGGER ALL
GO



ALTER TABLE [X_UserConfig] NOCHECK CONSTRAINT ALL
GO
ALTER TABLE [X_UserConfig] DISABLE TRIGGER ALL
GO

SET IDENTITY_INSERT [X_UserConfig] ON 
PRINT 'Begin inserting data in X_UserConfig'
SET IDENTITY_INSERT [X_UserConfig] OFF 
ALTER TABLE [X_UserConfig] CHECK CONSTRAINT ALL
GO

ALTER TABLE [X_UserConfig] ENABLE TRIGGER ALL
GO



